Crate cryptoki

source ·
Expand description

Rust PKCS11 new abstraction

The items in the new module only expose idiomatic and safe Rust types and functions to interface with the PKCS11 API. All the PKCS11 items might not be implemented but everything that is implemented is safe.

The modules under new follow the structure of the PKCS11 document version 2.40 available here.

Modules

  • Pkcs11 context and initialization types
  • Pkcs11 return codes and crate Result/Error types
  • Data types for mechanisms
  • Object types (including Attributes)
  • Session types
  • Slot and token types
  • PKCS11 General Data Types